package top.xiesen.testinterface;

public interface Flyable {

	int MAX_SPEED=11000;
	int MIN_HEIGHT = 1;
	void fly();
}
interface Attack{
	String A_FLY = "火箭起飞了";
	void Attack_fly();
}
class Plane implements Flyable{

	@Override
	public void fly() {
		System.out.println("飞机依靠发动机在飞");
	}
}

class Man implements Flyable{

	@Override
	public void fly() {
		System.out.println("我要飞起来了");
	}
}

class Stone implements Flyable,Attack{

	@Override
	public void fly() {
		System.out.println("石头飞起来了");
	}

	@Override
	public void Attack_fly() {
		System.out.println("石头攻击");
	}
	
}